<template>
  <van-tabbar
    route
    v-model="active"
    active-color="#ee0a24"
    inactive-color="#000"
  >
    <van-tabbar-item to="/home" icon="wap-home-o">商城</van-tabbar-item>
    <van-tabbar-item to="/cate" icon="flower-o">分类</van-tabbar-item>
    <van-tabbar-item to="/cart" icon="shopping-cart-o">购物车</van-tabbar-item>
    <van-tabbar-item
      to="/mine"
      icon="contact
"
      >我</van-tabbar-item
    >
  </van-tabbar>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style scoped>
</style>
